package me.zhenqu.model.pojo.entity;

import me.zhenqu.model.pojo.inf.JSONable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: yibing.tan
 * Date: 11-11-9
 * Time: 上午10:59
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "pascode", catalog = "zhenqu")
public class Pascode implements JSONable {
    private long user_id;
    private String password;
    private long last_login_in;

    @Id
    public long getUser_id() {
        return user_id;
    }

    public void setUser_id(long user_id) {
        this.user_id = user_id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public long getLast_login_in() {
        return last_login_in;
    }

    public void setLast_login_in(long last_login_in) {
        this.last_login_in = last_login_in;
    }

    @Override
    public String toJson() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public JSONable fromJson(String jsonstr) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
